package com.wljy.developtool.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wljy.developtool.dto.QpsQueryDTO;
import com.wljy.developtool.dto.QpsQueryDetailsDTO;
import com.wljy.developtool.entity.MetricIpEntity;
import com.wljy.developtool.vo.QpsQueryVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MetricIpMapper extends BaseMapper<MetricIpEntity> {
    List<QpsQueryDTO> qpsQuery(@Param("query") QpsQueryVO qpsQueryVO);

    List<QpsQueryDetailsDTO> getQpsByDayTime(@Param("dayTime") String dayTimes);

}
